<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: 92460
  Date: 2020/12/9
  Time: 16:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>显示时间</title>
</head>
<body>
<body>
结果是：
<!--小脚本-->
<% int numA= 5;
int numB = 5;
int sum = numA+numB;%>
<!--表达式-->
<%=sum %>
</body>

</body>
</html>
